C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
IOPub data rate exceeded.
The notebook server will temporarily stop sending output
to the client in order to avoid crashing it.
To change this limit, set the config variable
`--NotebookApp.iopub_data_rate_limit`.
Current values:
NotebookApp.iopub_data_rate_limit=1000000.0 (bytes/sec)
NotebookApp.rate_limit_window=3.0 (secs)
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:14: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Expected Return'] = mean_return
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:15: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Abnormal Return'] = event_window['Daily Returns'] - event_window['Expected Return']
C:\Users\razerblade 15\AppData\Local\Temp\ipykernel_5888\3453566094.py:16: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
event_window['Standardized Abnormal Return'] = event_window['Abnormal Return'] / std_dev if std_dev else np.nan